<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property string $guild_num 公会编号
 * @property string $second_guild 二级公会编号
 * @property int $anchor_id 公会主播id
 * @property string $amount 主播收入
 * @property int $ratio 公会提成比例
 * @property string $guild_amount 公会提成金额
 * @property int $s_time 开始时间
 * @property int $e_time 结束时间
 * @property int $ctime 统计时间
 * @property string $invite_amount 主播邀请收入
 * @property int $invite_rate 邀请收入公会提成比例
 * @property string $invite_guild_amount 主播邀请 公会总提成
 */
class GuildBillsDetail extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_guild_bills_detail';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'anchor_id' => 'integer', 'ratio' => 'integer', 's_time' => 'integer', 'e_time' => 'integer', 'ctime' => 'integer', 'invite_rate' => 'integer'];
}
